#pragma once

#include <vector>

using std::vector;

class LinearRegression
{
	vector<double> errors;

	double thetaZero;
	double thetaOne;

public:
	LinearRegression (vector<double>, vector<double>);
	int M ();
	double J ();
	void SetThetas (double, double);
	vector<double> x;
	vector<double> y;
	vector<double> h;

};

